package com.maiji.cloud.response.login;

import java.util.List;

import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.Status;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class DietLogResDto extends BaseResDto {
	@ApiModelProperty(value = "响应数据")
	private DietLogResInnerData data;

	public DietLogResDto(Status status) {
		super(status);
	}

	public void setStatus(Status status) {
		super.setStatus(status);
	}

	public DietLogResInnerData dataInstance() {
		return new DietLogResInnerData();
	}

	@NoArgsConstructor
	@Data
	@Accessors(chain = true)
	public class DietLogResInnerData {
		/**
		 * 今天
		 */
		private List<DietLogResData> todyList;
		/**
		 * 昨天
		 */
		private List<DietLogResData> yesterdayList;
		/**
		 * 前天
		 */
		private List<DietLogResData> beforeYesterdayList;
		
	}
}
